class CreateQuestionnaireEvents < ActiveRecord::Migration
	def self.up
		create_table :questionnaire_events do |t|
			t.column :questionnaire_id, :integer, :null => false
			t.column :questionnaire_event_type_id, :integer, :null => false
			t.column :event_date, :date, :null => false
			t.column :comment, :string
			# t.column :event_date, :date, :null => false
			
			t.timestamps
		end
	end
	
	def self.down
		drop_table :questionnaire_events
	end
end
